package top.yuyufeng.mbuy.mapper;

import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
import top.yuyufeng.mbuy.dto.CartDTO;
import top.yuyufeng.mbuy.entity.Cart;

import java.util.List;

public interface CartMapper extends Mapper<Cart> {

    List<CartDTO> listByUserIdWithDetail(@Param("userId") Integer userId, @Param("checked") Integer checked);

}